Is there any other way to check multiple values are present in array of object